package ModelLayer;


/**
 * Write a description of class Employee here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Employee extends Person
{
    private long cpr;
    private String function;
    private int salary;
    private String credentials;
    private String department;
    
    /**
     * Constructor for objects of class Employee.
     */
    public Employee(int id, String firstName, String lastName, String bankAccount, String email, String phone, String address, String city, long cpr, String function, int salary, String credentials, String department)
    {
        super(id, firstName, lastName, bankAccount, email, phone, address, city);
        this.cpr = cpr;
        this.function = function;
        this.salary = salary;
        this.credentials = credentials;
        this.department = department;
    }
    
    public Employee()
    {
        
    }
    
    /**
     * This will set the CPR for the employee.
     */
    public void setCpr(long inCpr)
    {
        cpr = inCpr;
    }
    
    /**
     * This will set the function for the employee.
     */
    public void setFunction(String inFunction)
    {
        function = inFunction;
    }
    
    /**
     * This will set the salary for the employee.
     */
    public void setSalary(int inSalary)
    {
        salary = inSalary;
    }
    
    /**
     * This will set the credentials for the employee.
     */
    public void setCredentials(String inCredentials)
    {
        credentials = inCredentials;
    }
    
    /**
     * This will set the department for the employee.
     */
    public void setDepartment(String inDepartment)
    {
        department = inDepartment;
    }
    
    /**
     * This will return the CPR of an employee.
     */
    public long getCpr()
    {
        return cpr;
    }
    
    /**
     * This will return the function of an employee.
     */
    public String getFunction()
    {
        return function;
    }
    
    /**
     * This will return the salary of an employee.
     */
    public int getSalary()
    {
        return salary;
    }
    
    /**
     * This will return the credentials of an employee.
     */
    public String getCredentials()
    {
        return credentials;
    }
    
    /**
     * This will return the department of an employee.
     */
    public String getDepartment()
    {
        return department;
    }
}
